// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//vue-resource停止更新了,还是用回axios吧.
import vueAxios  from 'vue-axios'
import axios from 'axios'
Vue.use(vueAxios,axios)

//使用vuex状态管理系统
import Vuex from 'vuex'
import store from './store/store'
Vue.use(Vuex)



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
